package com.tongji.housediy.controller.brandCMD
{
	import com.tongji.housediy.events.brandEvent.GetAllBrandEvent;
	import com.tongji.housediy.model.BrandModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/5/06
	 */ 
	public class UpdateBrandXMLCMD extends Command
	{
		[Inject]
		public var model:BrandModel;
		
		[Inject]
		public var event:GetAllBrandEvent;
		
		override public function execute():void
		{
			model.updateBrandXML(event.brandXML);
		}
	}
}